﻿using System;
using System.Collections.Generic;
using System.Text;
using Xeml.Document.Contracts;
using Mpi.Common.Collections;
using Xeml.Document.EnvironmentalOntology;

namespace Xeml.Document
{
    public class VariableSpecCollection : ObservableIdCollectionBase<XeoTerm, string>, IEnumerable<IDynamicOntologyTerm>
    {
        protected override string GetIdentifiere(XeoTerm item)
        {
            return item.TermId;
        }

        protected override void SetOwner(XeoTerm item)
        {
            throw new NotImplementedException();
        }

        protected override void RemoveOwner(XeoTerm item)
        {
            throw new NotImplementedException();
        }

    

        #region IEnumerable<IVariableSupervisor> Members

        public new IEnumerator<IDynamicOntologyTerm> GetEnumerator()
        {
            return base.GetEnumerator();
        }

        #endregion
    }
}
